package com.sxhalo.fsms.domain;

public class DeviceRunningStateUpdateTime extends DeviceRunningStateUpdateTimeKey {
    private String deviceType;

    private Integer state;

    private Long stateDuration;

    private  FactDevice device;

    public FactDevice getDevice() {
        return device;
    }

    public void setDevice(FactDevice device) {
        this.device = device;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType == null ? null : deviceType.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getStateDuration() {
        return stateDuration;
    }

    public void setStateDuration(Long stateDuration) {
        this.stateDuration = stateDuration;
    }
}